<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>模板发送邮件</title>
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"
    />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <!--jquery-->
    <script type="text/javascript" src="./js/jquery.min.js"></script>
    <!--layui-->
    <script type="text/javascript" src="./lib/layui/layui.js"></script>
    <!--cookies-->
    <script type="text/javascript" src="./js/cookies.js"></script>
    <!--spark-md5 获取文件MD5-->
    <script type="text/javascript" src="./js/spark-md5.min.js"></script>
    <!--common-->
    <script type="text/javascript" src="./js/common.js"></script>
    <!--检测登陆-->
    <script type="text/javascript" src="./js/testing_login.js"></script>
    <!--xadmin js-->
    <script type="text/javascript" src="./js/xadmin.js"></script>
    <!--wang editor-->
    <script type="text/javascript" src="./vendor/wangEditor/release/wangEditor.min.js"></script>
    <!--index.js-->
    <script type="text/javascript" src=./js/send-email-alone.js></script>
    <style type="text/css">
        .send-res{
            padding: 30px 20px;
        }
        .send-res li{
            height: 40px;
            line-height: 40px;
            margin-bottom: 5px;
            border:1px solid #ccc; 
        }
        .send-res li span{
            display: inline-block;
            margin: 0 10px;
            height: 40px;
            width: 30%;
        }
        .send-res li span.send-res-success{
            color: green;
        }
        .send-res li span.send-res-error{
            color: red;
        }
    </style>
</head>

<body>
    <div class="x-nav">
        <span class="layui-breadcrumb">
            <a href="">郵件管理</a>
            <a href="">郵件發送</a>
            <a>
                <cite>獨立發送</cite>
            </a>
        </span>
        <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);"
            title="刷新">
            <i class="layui-icon" style="line-height:30px">&#xe669;</i>
        </a>
    </div>
    <div class="x-body">
        <xblock>
        </xblock>
        <form class="layui-form layui-form-pane" lay-filter="email-detail-from">
            <div class="layui-form-item">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>郵件標題
                </label>
                <div class="layui-input-inline" style="width: 40%">
                    <input type="text" name="title" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>收件郵箱
                </label>
                <div class="layui-input-inline" style="width: 20%">
                    <input type="text" name="email" lay-verify="required|email" required lay-verify="required" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label for="" class="layui-form-label">郵件內容</label>
                <div class="layui-input-block">
                    <div id="html" disabled="disabled"></div>
                </div>
            </div>
            <div class="layui-form-item">
                <button class="layui-btn" lay-submit lay-filter="sendEmail">
                    確認發送
                </button>
            </div>
        </form>
    </div>
</body>
</html>